//
//  NetworkTask.h
//  TaurusXi
//
//  Created by xicheng on 15/12/8.
//  Copyright © 2015年 xicheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkCoreManager.h"

@interface NetworkTask : NSObject

@property (nonatomic,copy) NSString *httpURL;

@property (nonatomic,copy) NSString *tag;

@property(nonatomic,assign) HttpMethod method;

@property (nonatomic,copy) NSString *debugTag;

@property (nonatomic,assign)Boolean shouldCacheFlag;

@property (nonatomic,strong)NSDictionary *headers;

@property (nonatomic,strong)NSDictionary *params;

@property (nonatomic,copy)PassValueBlock passSuccessBlock;

@property (nonatomic,copy)PassErrorBlock passErrorBlock;

-(void)setDataResponce:(PassValueBlock) successBlock andError:(PassErrorBlock)errorBlock;

@end
